{include file="public/nheader"}
<div class="layui-fluid layui-bg-white">
    <form action="{:url()}" class="layui-form layui-form-fixed">
        <div class="layui-form-item">
            <label class="layui-form-label">
                <font color="red">* </font>师傅
            </label>
            <div class="layui-input-block">
                <select name="riderid">
                    <option value="">请选择师傅账号</option>
                    {foreach $rider as $v}
                    <option value="{$v.id}" {if !empty($row.riderid) && $row.riderid==$v.id}selected{/if}>
                        {$v.name}（{$v.mobile}）</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                <font color="red">* </font>省份
            </label>
            <div class="layui-input-block">
                <select name="province" data-area="" lay-filter="province">
                    <option value="">请选择选择省份</option>
                    {foreach $province as $v}
                    <option value="{$v.area_code}" {if !empty($row.province) &&
                        $row.province==$v.area_code}selected{/if}>{$v.name}</option>
                    {/foreach}
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                <font color="red">* </font>城市
            </label>
            <div class="layui-input-block">
                <select name="city" data-area="" lay-filter="city">
                    <option value="">请选择选择城市</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                <font color="red">* </font>区域
            </label>
            <div class="layui-input-block">
                <select name="area" data-area="" lay-filter="area">
                    <option value="">请选择选择区域</option>
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">
                <font color="red">* </font>街道
            </label>
            <div class="layui-input-block">
                <select name="street" data-area="" lay-filter="street">
                    <option value="">请选择选择街道</option>
                </select>
            </div>
        </div>

        <div class="layui-footer layui-form-item layui-center ">
            <button class="layui-btn" lay-filter="submitIframe" type="button" lay-submit>提交</button>
            <button class="layui-btn layui-btn-primary" type="button" sa-event="closeDialog">取消</button>
        </div>
    </form>
</div>

{include file="public/nfooter"}